package com.ding.pda.service;

import com.ding.pda.dto.AddDto;
import com.ding.pda.dto.UpdateDto;
import com.ding.pda.entity.Pda;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hs.common.api.dto.ResultVo;

/**
 * <p>
 * pda 服务类
 * </p>
 *
 * @author Ding
 * @since 2022-07-21
 */
public interface IPdaService extends IService<Pda> {

    ResultVo addPda(AddDto addDto);

    ResultVo updatePda(UpdateDto updateDto);

    ResultVo deletePda(Integer pdaId);

    ResultVo findPdaByPages(Integer current, Integer size);

    ResultVo bindDevice(Long pdaId, Long patrollerId, String status);

    ResultVo unbindPda();
}
